<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Stock Chart</title>
</head>
<body>
    <h1>Stock Chart</h1>
    <img src="data:image/png;base64,{{chart}}" alt="Stock Chart">
    <form method="post">
        <label for="symbol">Enter Stock Symbol:</label>
        <input type="text" name="symbol" id="symbol" required>
        <button type="submit">Get Chart</button>
    </form>
</body>
</html>